<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>welcome Jframe</title>
<jsp:include page="/inc/inc.jsp" />
<script type="text/javascript">
$(function(){
	$('#sysinfo').panel({
		  height:210,
		  title: '系统信息'
		  
		});
});	
</script>
</head>
<body>
	<div id="sysinfo" style="padding:10px;" style="width:100%">
		<div id="xxq_logo" style="float:left;width:280px;">
			<img src="<%=request.getContextPath() %>/images/xxq.png" alt="服务器"/>
		</div>
		<%
			Runtime r = Runtime.getRuntime();
		%>
		<div id="info" style="float:left;">
			<table>
			<tr>
				<td style="vertical-align: middle;">
					<span><h3>欢迎使用信息化系统快速开发平台</h3></span>
					<span><h4>版本号：<span style="color: red">2.0.0 Beta</span></h4></span>
					<span><h4>JVM总内存：<span style="color: red"><%=r.totalMemory()/1024/1024 %>M</span></h4></span>
					<span><h4>JVM剩余内存:<span style="color: red"><%=r.freeMemory()/1024/1024%>M</span></h4></span>
				</td>
				<td style="padding-left: 100px;">
					<span><h4>服务器操作系统:<span style="color: red"><%=System.getProperty("os.name")%></span></h4></span>
					<span><h4>服务器操作系统版本:<span style="color: red"><%=System.getProperty("os.version")%></span></h4></span>
					<span><h4>服务器操作系统类型:<span style="color: red"><%=System.getProperty("os.arch")%></span></h4></span>
					<span><h4>JRE版本:<span style="color: red">JRE <%=System.getProperty("java.version")%></span></h4></span>
					<span><h4>虚拟机:<span style="color: red"><%=System.getProperty("java.vm.name")%></span></h4></span>
				</td>
			</tr>
			</table>		
		</div>
	</div>	
</body>
</html>